package com.fengmi.uc.controller;


import com.fengmi.uc.entity.MallAddress;
import com.fengmi.uc.service.IMallAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhuxm
 * @since 2022-03-14
 */
@RestController
@RequestMapping("/uc/address")
public class MallAddressController {

    @Autowired
    private IMallAddressService addressService;


    @RequestMapping("list")
    public List<MallAddress> list(){

        return  addressService.listAddress();
    }

}
